package com.guli.eduService.entity.vo;

import com.alibaba.excel.annotation.ExcelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * @author zxc
 * @date 2023/04/02 15:04
 **/
@Data
@AllArgsConstructor
@NoArgsConstructor
public class ExcelSubjectData implements Serializable {
    private static final long serialVersionUID = 1L;

    // 需要注意的是，若是需要去读取excel文件中数据时，实体类字段需要符合驼峰命名规范。例如，首字母要小写;
    @ExcelProperty(value = "一级课程" , index = 0)
    private String oneSubject;

    @ExcelProperty(value = "二级课程" , index = 1)
    private String twoSubject;
}
